/**
 * 
 */
package com.ws.framework.controller;

/**
 * <p>
 * </p>
 *
 * @author WSH
 */
public enum EnumSvrResult {
	
	OK("1", "成功！"),

	ERROR("2", "喔唷！服务器错误."),

	ERROR_PARAMS("3", "参数错误."),

	ERROR_DELETE("4", "删除失败, 请重试."),

	ERROR_DUP_KEY("5", "code重复."),;

	private String val;
	private String name;

	EnumSvrResult(String val, String name) {
		this.val = val;
		this.name = name;
	}

	public String getVal() {
		return this.val;
	}

	public String getName() {
		return this.name;
	}
}
